Copy the column headers of the sheet ranges to be filtered into an empty area of the sheet, and then enter the criteria for the filter in a row beneath the headers. Horizontally arranged data in a row will always be logically connected with AND, and vertically arranged data in a column will always be logically connected with OR.
フィルタにかけるシート範囲の列の項目欄を表の空の場所にコピーして、項目欄の下にある行にフィルタの条件を入力します。このとき、横に並んだデータは常に論理積でつながれます。そして、縦に並んだデータは常に論理和でつながれます。
Once you have created a filter matrix, select the sheet ranges to be filtered. Open the Advanced Filter dialog by choosing Data - Filter - Advanced Filter, and define the filter conditions.
フィルタ行列を作成した後、フィルタにかけるシート範囲を選択します。データ → フィルタ → 特殊フィルタ を選択して、ダイアログ 特殊フィルタ を開きます。そして、フィルタの条件を定義します。
Then click OK, and you will see that only the rows from the original sheet whose contents have met the search criteria are still visible. All other rows are temporarily hidden and can be made to reappear with the Format - Row - Show command.
「OK」をクリックすると、フィルタの条件に合う内容の行だけが表示されます。その他の行はすべて一時的に画面から隠れます。これらの行を表示し直すには、書式 → 行 → 表示する を選択します。
Example
例
Load a spreadsheet with a large number of records. We are using a fictional Turnover document, but you can just as easily use any other document. The document has the following layout:
レコードの数が非常に多い表計算ドキュメントを読み込みます。ここでは 総売上 という架空のドキュメントを使用しますが、レコードの数が多ければ、別のどんなドキュメントでも問題ありません。このドキュメントは次のようなレイアウトになっています。
|
A
|
B
|
C
|
D
|
E
|
|
|
1
|
Month
|
Standard
|
Business
|
Luxury
|
Suite
|
|
2
|
January
|
125600
|
200500
|
240000
|
170000
|
|
3
|
February
|
160000
|
180300
|
362000
|
220000
|
|
4
|
March
|
170000
|
and so on...
|
Copy row 1 with the row headers (field names), to row 20, for example. Enter the filter conditions linked with OR in rows 21, 22, and so on.
行1 を見出し (データフィールド名) 付きでコピーし、行20 に貼り付けます。行21、22... には、「または」で結ぶフィルタ条件を入力します。その範囲は次のようになります:
|
A
|
B
|
C
|
D
|
E
|
|
|
20
|
Month
|
Standard
|
Business
|
Luxury
|
Suite
|
|
21
|
January
|
||||
|
22
|
<160000
|
Specify that only rows which either have the value January in the Month cells OR a value of under 160000 in the Standard cells will be displayed.
月 のセルが 1 月または 標準 のセルが 160000 より少ない値の行のみを表示するように指定します。
Choose Data - Filter - Advanced Filter, and then select the range A20:E22. After you click OK, only the filtered rows will be displayed. The other rows will be hidden from view.
データ → フィルタ → 特殊フィルタ で行なって、セル範囲 A20:E22 を選択します。「OK」をクリックすると、フィルタの条件に合う内容の行だけが表示されます。その他の行は画面から隠れます。